package com.ctms.system.service.impl;

import com.ctms.system.dao.CourseTeacherMapper;
import com.ctms.system.domain.CourseDO;
import com.ctms.system.service.CourseTeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class CourseTeacherServiceImpl implements CourseTeacherService {

    @Autowired
    CourseTeacherMapper courseTeacherMapper;

    @Override
    public List<CourseDO> selectAllTeacherCourse(Map<String, Object> param) {
        return courseTeacherMapper.selectAllTeacherCourse(param);
    }

    @Override
    public int count(Map<String, Object> param) {
        return courseTeacherMapper.count(param);
    }
}
